package com.lantosec.hmrp.modules.archives.mapper;

import com.lantosec.hmrp.modules.archives.entity.UserOffice;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 任职信息表 Mapper 接口
 * </p>
 *
 * @author AutoCode
 * @since 2020-06-09
 */
public interface UserOfficeMapper extends BaseMapper<UserOffice> {

    /**
     * 新增部门岗位表
     * @param deptId
     * @param userId
     * @param positionId
     */
    void saveDeptUser(@Param("deptId") String deptId, @Param("userId") String userId, @Param("positionId") String positionId);
}
